getProgressMax

@IntRange(from = 0)
open fun getProgressMax(): Int(source)

Gets the sum of the lengths of all Segments in the style, which defines the maximum progress. Defaults to 100 when segments are omitted.